package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.pojo.musictag;

public interface MusicTagservice extends IService<musictag> {

    Page<musictag> selectPageTagandByName(int pageNum, int pageSize, String name);

    Page<musictag> selectPageNodelectTagandByName(int pageNum, int pageSize, String name);

    boolean startandstop(Long id);

    boolean removeAllById(Long id);

    boolean addTagToArticle(Long articleId, Long tagId);
}
